package edu.stonybrook.cs.gars.server.data.exceptions;

/**
 * This exception is thrown when a map file has a duplicate mapping to a database field.
 * @author Tony Arra
 *
 */
public class DuplicateFieldException extends MapFormatException {
	public DuplicateFieldException(String duplicateFrom, String from, String to) {
		super("Fields \"" + from + "\" and \"" + duplicateFrom + "\" both map to \"" + to + "\"");
	}
	
}
